package com.aaa.doctor.service;


import com.aaa.doctor.vo.PatientVo;
import com.aaa.doctor.vo.PatientVoo;
import com.aaa.doctor.vo.Pvo;
import com.aaa.entity.Patient;
import com.aaa.entity.Registration;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @version 1.8.0_181
 * @Author ZXJ
 * @Date 2023/3/24 15:18
 * @注释
 */
public interface PatientService {

    Result<IPage<Patient>> searchPatient(Integer currentPage, Integer pageSize, PatientVo patientVo);

    Result<Patient> getByPatientId(String patientId);


    Result<Patient> getByidCardAll(String idCard);

    Result<Map<String, Object>> patientAllObject(String patientId);


    Result<String> addPatient(Patient patient1, Registration registration2, Pvo pvo);

}
